package cn.myframe.service.sys.impl;

import cn.myframe.dao.sys.SysBaseDataDao;
import cn.myframe.entity.sys.SysBaseDataEntity;
import cn.myframe.service.BaseServiceImpl;
import cn.myframe.service.sys.SysBaseDataService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("sysBaseDataService")
public class SysBaseDataServiceImpl extends BaseServiceImpl<SysBaseDataDao,SysBaseDataEntity> implements SysBaseDataService {
	@Autowired
	private SysBaseDataDao SysBaseDataDao;
	@Override
	public List<SysBaseDataEntity> selectAllBaseData() {
		return baseMapper.selectAllBaseData();
	}

	@Override
	public List<String> selectI18n() {
		return baseMapper.selectI18n();
	}

	@Override
	public List<String> selectAllType() {
		return baseMapper.selectAllType();
	}

	@Override
	public void save(SysBaseDataEntity sysBaseData) {
		SysBaseDataDao.save(sysBaseData);
	}
}
